* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
/* HERO SECTION */
.simple-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* BREADCRUMB */
.breadcrumb-bar {
    position: absolute;
    width: 100%;
    bottom: 0px;
    left: 0px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 16px 25px;
    font-size: 18px;
    z-index: 10;
}

.breadcrumb-bar a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-bar span {
    margin: 0 5px;
}

.hero-img {
    height: 460px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-attachment: fixed;
}

/* TEXT CENTER */
.hero-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 180px 20px 0px;
    background: rgba(0, 0, 0, 0.55); /* light overlay */
}

.hero-text h1 {
    font-size: 60px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #ff7a2f;
}

.hero-text p {
    font-size: 35px;
    font-weight: 400;
    max-width: 90%;
}

/* Images */
.hero-1 {
    background-image: url("../../../images/wheels/school_on_wheels_at_ekpahel.webp");
}
.hero-2 {
    background-image: url("../../../images/home/banner 2_compressed.webp");
}
.hero-3 {
    background-image: url("../../../images/home/banner 2_compressed.webp");
}

/* Responsive */
@media (max-width: 768px) {
    .hero-img {
        height: 260px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 15px;
    }
}

/* ARROWS */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 15px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-img {
        height: 260px;
    }

    .breadcrumb-bar {
        font-size: 12px;
        left: 15px;
        bottom: 15px;
    }
}

/* ================= ARROWS ================= */
.custom-arrow {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    color: #ff7a2f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

/* Hover Effect */
.custom-arrow:hover {
    background: #ff7a2f;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 122, 47, 0.6);
}

/* Position Fix */
.carousel-control-prev,
.carousel-control-next {
    width: auto;
    opacity: 1;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .custom-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* WHEELS SECTION */

/* OA Impact Section Styling */
.oa-impact-section {
    background: linear-gradient(120deg, #ffe5e5 0%, #fff3e0 100%);
    padding: 60px 0 80px 0;
}

.oa-impact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.oa-impact-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 6px 32px 0 rgba(255, 105, 135, 0.13);
    border-top: 6px solid #ff6f61;
    border-bottom: 4px solid #ff4e9b;
    padding: 38px 34px 32px 34px;
    width: 400px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition:
        box-shadow 0.2s,
        transform 0.2s;
    position: relative;
}

.oa-impact-card:hover {
    box-shadow: 0 12px 36px 0 rgba(255, 105, 135, 0.18);
    transform: translateY(-4px) scale(1.02);
}

.oa-impact-icon {
    font-size: 2.2em;
    color: #ff6f61;
    margin-bottom: 12px;
    filter: drop-shadow(0 2px 8px #ffb34755);
}

.oa-impact-heading {
    font-size: 1.35em;
    font-weight: 700;
    color: #ff4e9b;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.oa-impact-text {
    color: #6d214f;
    font-size: 1.08em;
    line-height: 1.7;
}

.oa-impact-list {
    color: #d84315;
    font-size: 1.08em;
    line-height: 1.7;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.oa-impact-list li {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
}

.oa-list-icon {
    color: #ffb347;
    font-size: 1.2em;
    margin-right: 10px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Curriculum Card Styles */
.oa-curriculum-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 32px 0 rgba(255, 105, 135, 0.13);
    border-top: 5px solid #ff6f61;
    overflow: hidden;
    width: 98vw; /* Nearly full viewport width */
    max-width: 1600px; /* Wider on large screens */
    min-height: 70vh; /* Ensures good vertical presence */
    margin: 32px auto; /* Adds space above and below */
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.oa-curriculum-gallery {
    display: flex;
    width: 100%;
    background: #ffe0ec;
    gap: 0;
}
.oa-curriculum-gallery img {
    width: 33.33%;
    height: 220px; /* Taller images for a bolder look */
    object-fit: cover;
    display: block;
    border: none;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}
.oa-curriculum-gallery img:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 16px rgba(255, 105, 135, 0.18);
    z-index: 1;
}
.oa-curriculum-content {
    padding: 40px 60px 32px 60px; /* More padding for a spacious feel */
    display: flex;
    flex-direction: column;
}

.oa-impact-heading {
    color: #ff4e9b;
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 8px;
    margin-top: 0;
}

.oa-curriculum-title {
    color: #ff6f61;
    font-weight: 600;
    font-size: 1.13em;
    margin-bottom: 8px;
}

.oa-curriculum-intro {
    color: #6d214f;
    font-size: 1em;
    margin-bottom: 14px;
}

.oa-curriculum-list {
    color: #222;
    font-size: 1.05em;
    margin: 0 0 0 18px;
    padding: 0;
    line-height: 1.7;
}

.oa-curriculum-list li {
    margin-bottom: 6px;
    font-family: inherit;
}

/* Our Impact At A Glance Section */
.oa-impact-glance-section {
    background: linear-gradient(120deg, #ffe5e5 0%, #fff3e0 100%);
    padding: 48px 0 32px 0;
    text-align: center;
}

.oa-impact-glance-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #ff4e9b;
    margin-bottom: 36px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.oa-impact-star {
    color: #ffb347;
    font-size: 1.2em;
    margin-right: 6px;
}

.oa-impact-glance-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.oa-impact-glance-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 18px 0 rgba(255, 105, 135, 0.1);
    border-top: 5px solid #ff6f61;
    border-bottom: 4px solid #ff4e9b;
    width: 250px;
    min-width: 200px;
    padding: 32px 18px 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition:
        box-shadow 0.2s,
        transform 0.2s;
}

.oa-impact-glance-card:hover {
    box-shadow: 0 8px 32px 0 rgba(255, 105, 135, 0.18);
    transform: translateY(-4px) scale(1.03);
}

.oa-impact-glance-icon {
    font-size: 2.2em;
    margin-bottom: 12px;
}

.oa-impact-glance-number {
    font-size: 2.1em;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #ff4e9b 60%, #ff6f61 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.oa-impact-glance-label {
    color: #222;
    font-size: 1.08em;
    font-weight: 500;
}

/* Modern Glass Card Impact Section */
.oa-impact-glass-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.oa-impact-glass-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 rgba(255, 105, 135, 0.1);
    display: flex;
    align-items: center;
    min-width: 260px;
    max-width: 320px;
    width: 100%;
    padding: 0 24px 0 0;
    position: relative;
    transition:
        box-shadow 0.2s,
        transform 0.2s;
    overflow: hidden;
    min-height: 110px;
}

.oa-impact-glass-card:hover {
    box-shadow: 0 12px 36px 0 rgba(255, 105, 135, 0.18);
    transform: translateY(-4px) scale(1.03);
}

.oa-impact-glass-accent {
    width: 8px;
    height: 100%;
    border-radius: 0 8px 8px 0;
    margin-right: 18px;
    flex-shrink: 0;
}

.oa-impact-glass-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    margin-right: 18px;
    box-shadow: 0 2px 8px rgba(255, 105, 135, 0.07);
    flex-shrink: 0;
}

.oa-impact-glass-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.oa-impact-glass-number {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.oa-impact-glass-label {
    color: #222;
    font-size: 1.08em;
    font-weight: 500;
    line-height: 1.2;
}

@media (max-width: 700px) {
    .oa-glass-card {
        padding: 28px 10px;
        border-radius: 18px;
    }
    .oa-glass-card::before {
        border-radius: 22px;
    }
    .oa-heading {
        font-size: 1.2em;
    }
    .oa-objective,
    .oa-list li {
        font-size: 1em;
        padding: 14px 10px;
    }
    .oa-simple-container {
        padding: 18px 8px;
        border-radius: 8px;
    }
    .oa-simple-heading {
        font-size: 1.1em;
    }
    .oa-curriculum-card {
        max-width: 98vw;
    }
    .oa-curriculum-content {
        padding: 16px 8px 12px 8px;
    }
    .oa-curriculum-gallery img {
        height: 70px;
    }
}

@media (max-width: 900px) {
    .oa-impact-container {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .oa-impact-card {
        width: 90%;
        min-width: unset;
        padding: 24px 12px;
    }
    .oa-curriculum-card {
        width: 94vw;
        max-width: 100vw;
        min-height: 40vh;
        margin: 16px 0;
    }
    .oa-curriculum-content {
        padding: 16px 8px 12px 8px;
    }
    .oa-curriculum-gallery img {
        height: 90px;
    }
    .oa-impact-glance-cards {
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }
    .oa-impact-glance-card {
        width: 90vw;
        min-width: unset;
    }
    .oa-impact-glass-cards {
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }
    .oa-impact-glass-card {
        width: 90vw;
        min-width: unset;
        max-width: 98vw;
        padding: 0 12px 0 0;
    }
}
/* --- Gallery Section Styling --- */
.gallery-section {
    margin: 64px auto 56px auto;
    max-width: 1300px;
    text-align: center;
    background: linear-gradient(120deg, #fff0e6 60%, #ffe6f0 100%);
    border-radius: 32px;
    box-shadow:
        0 8px 32px rgba(233, 30, 99, 0.1),
        0 2px 8px rgba(255, 106, 0, 0.07);
    padding: 56px 32px 48px 32px;
    position: relative;
    overflow: hidden;
}
.gallery-section::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: rgba(255, 106, 0, 0.07);
    border-radius: 50%;
    z-index: 0;
}
.gallery-section h2 {
    color: #e91e63;
    font-size: 2.3rem;
    font-weight: 900;
    margin-bottom: 36px;
    letter-spacing: 2px;
    text-shadow:
        1px 1px 10px #fff,
        0 2px 10px #ff6a00;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(255, 106, 0, 0.13);
    transition:
        transform 0.22s,
        box-shadow 0.22s;
    border: 4px solid #fff;
    background: #fff;
    cursor: pointer;
}
.gallery-img:hover {
    transform: scale(1.06) rotate(-1deg);
    box-shadow: 0 12px 32px rgba(233, 30, 99, 0.18);
    border-color: #ff6a00;
}

slider img.slide {
    height: 420px; /* Set your desired height */
    object-fit: cover; /* Ensures the image covers the area */
    width: 100%; /* Make sure it stretches full width */
    display: block;
}

.container,
.patshala-container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

@media (max-width: 900px) {
    .patshala-card.optimized-about {
        padding: 32px 10px 18px 10px;
    }
    .about-highlight {
        padding: 18px 8px;
        max-width: 100%;
    }
    .about-logo {
        max-width: 90px;
    }
    .patshala-title {
        font-size: 1.5rem;
    }
    .activities-card {
        padding: 24px 8px 18px 8px;
    }
    .activities-title {
        font-size: 1.3rem;
    }
    .activities-list {
        font-size: 1rem;
        padding-left: 14px;
    }
    .activities-title-grid {
        font-size: 1.3rem;
        padding: 14px 0 10px 0;
    }
    .activities-grid {
        gap: 18px 10px;
    }
    .activity-card {
        padding: 22px 8px 14px 8px;
        min-height: 160px;
    }
    .activity-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    .activity-text {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .view-gallery {
        grid-template-columns: 1fr;
    }
    .view-img {
        max-width: 98vw;
        height: 120px;
    }
}
/* Add to PATSHALA.css */
.gallery-section {
    margin: 64px auto 56px auto;
    max-width: 1300px;
    text-align: center;
    background: linear-gradient(120deg, #fff0e6 60%, #ffe6f0 100%);
    border-radius: 32px;
    box-shadow:
        0 8px 32px rgba(233, 30, 99, 0.1),
        0 2px 8px rgba(255, 106, 0, 0.07);
    padding: 56px 32px 48px 32px;
    position: relative;
    overflow: hidden;
}
.gallery-section::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: rgba(255, 106, 0, 0.07);
    border-radius: 50%;
    z-index: 0;
}
.gallery-section h2 {
    color: #e91e63;
    font-size: 2.3rem;
    font-weight: 900;
    margin-bottom: 36px;
    letter-spacing: 2px;
    text-shadow:
        1px 1px 10px #fff,
        0 2px 10px #ff6a00;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Always 4 images per row */
    gap: 28px;
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(255, 106, 0, 0.13);
    transition:
        transform 0.22s,
        box-shadow 0.22s;
    border: 4px solid #fff;
    background: #fff;
    cursor: pointer;
}
.gallery-img:hover {
    transform: scale(1.06) rotate(-1deg);
    box-shadow: 0 12px 32px rgba(233, 30, 99, 0.18);
    border-color: #ff6a00;
}

@media (max-width: 900px) {
    .gallery-section {
        padding: 32px 8px 28px 8px;
    }
    .gallery-grid {
        gap: 16px;
    }
    .gallery-img {
        height: 140px;
    }
}

@media (max-width: 1100px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 per row on medium screens */
    }
}
@media (max-width: 700px) {
    .gallery-grid {
        grid-template-columns: 1fr; /* 1 per row on small screens */
    }
}

@media (max-width: 600px) {
    .gallery-section {
        width: 100vw !important;
        max-width: 100vw !important;
        padding: 12px 0 12px 0 !important;
        border-radius: 18px;
        margin-left: -18px !important;
        margin-right: auto !important;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .gallery-img {
        height: 110px;
    }
}
